<?php
include_once( 'config.php' );
include_once( 'functiondata.php' );
include_once( 'languages.php' );
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $charset ?>" />
<title><?php echo "$title"; ?></title>
<link href="<?php echo $img_base ?>rospora.css" rel="stylesheet" type="text/css" />
</head>
<body style="text-align: center">
<table width="57%" border="0" align="center" cellpadding="0" cellspacing="0" bordercolor="#999999" height="363">
  <tr>
    <th height="72" colspan="4" class="cells" scope="col"><div align="left" class="cell">
		<a href="index.php"><img src="<?php echo $img_base ?>logo4.gif" alt="Mangos" width="214" height="68" class="header" border="0"/></a></div></th>
  </tr>
  <tr>
    <td height="32" colspan="4" class="cell"></td>
  </tr>
  <tr>
    <td width="4%" rowspan="7" class="cell"></td>
    <th width="24%" height="36" class="menu2" nowrap>MENU</th>
    <td width="4%" rowspan="7" align="left" class="cell"></td>
    <td width="68%" height="36" align="left" class="menu2">
	<?php
	$select= $_GET['select'];
	print "<strong class=title><center>$status $title</center></strong><br>";
	?>
	</td>
  </tr>
  <tr>
    <th height="32" class="menu1" nowrap style="background-color: #333333">
	<a href="online.php">Online Players</a>	</th>
    <td rowspan="6" class="tables" valign="top" align="left"><div align="center" class="tables" style="height:1px; scroll:auto; clear:both; position:relative; margin-top:auto; overflow: visible; visibility: visible;">
      <div align="left" class="tables2">
      <p class="tables"></p>
      <table width="100%" height="1" border="0" valign="top" cellpadding="0" cellspacing="0" bgcolor="#37404F" id="2">
<?php		
if ( $select = $_GET['select'] ){
switch ($select){
case status:
    echo "$textone";
break;
case statics:
    echo "  <tr>
    <th width='34%' scope='col'>Database</th>
    <th width='66%' scope='col'>$rev</th>
  </tr>
  <tr>
    <th scope='row'>Max. Online </th>
    <td>$time</td>
  </tr>
  <tr>
    <th scope='row'>&nbsp;</th>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <th scope='row'>&nbsp;</th>
    <td>Statics on total population </td>
  </tr>
  <tr>
    <th scope='row'>&nbsp;</th>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <th scope='row'>Human</th>
    <td><img src='$staticpic$yuzde_human'/></td>
  </tr>
  <tr>
    <th scope='row'>Dwarf</th>
    <td><img src='$staticpic$yuzde_dwarf'/></td>
  </tr>
  <tr>
    <th scope='row'>Night Elf </th>
    <td><img src='$staticpic$yuzde_nightelf'/></td>
  </tr>
  <tr>
    <th scope='row'>Gnome</th>
    <td><img src='$staticpic$yuzde_gnome'/></td>
  </tr>
  <tr>
    <th scope='row'>Dranei</th>
    <td><img src='$staticpic$yuzde_dranei'/></td>
  </tr>
  <tr>
    <th scope='row'>&nbsp;</th>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <th scope='row'>Orc</th>
    <td><img src='$staticpic$yuzde_orc'/></td>
  </tr>
  <tr>
    <th scope='row'>Troll</th>
    <td><img src='$staticpic$yuzde_troll'/></td>
  </tr>
  <tr>
    <th scope='row'>Undead</th>
    <td><img src='$staticpic$yuzde_undead'/></td>
  </tr>
  <tr>
    <th scope='row'>Tauren</th>
    <td><img src='$staticpic$yuzde_tauren'/></td>
  </tr>
  <tr>
    <th scope='row'>Blood Elf </th>
    <td><img src='$staticpic$yuzde_bloodelf'/></td>
  </tr>
  <tr>
    <th scope='row'>&nbsp;</th>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <th scope='row'>Accounts</th>
    <td>$max_acc</td>
  </tr>
  <tr>
    <th scope='row'>Characters</th>
    <td>$max_char</td>
  </tr>
  <tr>
    <th scope='row'>Game Masters </th>
    <td>$max_gm</td>
  </tr>
  <tr>
    <th scope='row'>&nbsp;</th>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <th scope='row'>&nbsp;</th>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <th scope='row'>&nbsp;</th>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <th scope='row'>&nbsp;</th>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <th scope='row'>&nbsp;</th>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <th scope='row'>&nbsp;</th>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <th scope='row'>&nbsp;</th>
    <td>&nbsp;</td>
  </tr>";
break; 
case accountcreate:
	echo "$cont";
break;
}}
else
{
print "<tr><td><center>Welcome to <b>MaNGOS</b> , Powered Free MMORPG Server</center></td></tr>";
}
?>
      </table>
    	</div>
    </div></td>
  <tr>
    <td height="16" align="left" nowrap="nowrap" class="menu1" style="background-color: #333333">
	<a href="index.php?select=accountcreate">Create Account</a></td>
  </tr>
  <tr>
    <td height="37" align="left" nowrap="nowrap" class="menu1" style="background-color: #333333">
	<a href="index.php?select=statics">Statics</a></td>
  </tr>
  <tr>
    <td height="34" align="left" class="menu1" style="background-color: #333333"><a href="<?php echo $forumadd ?>" target="_blank">Forum</a></td>
  </tr>
  <tr>
    <td height="34" align="left" class="menu1" style="background-color: #333333"><a href="<?php echo $voteadd ?>" target="_blank">Vote</a></td>
  </tr>
  <tr>
    <td height="30" class="tables" style="background-color: #303B4A"><?php echo $credits ?></td>
  </tr>
</table>
</body>
</html>